package com.example.birdfriends.dao;

import com.example.birdfriends.pojo.recommend.Recommend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RecommendDao {
    public int insertRecommend(Recommend recommend);
    public Recommend findRecommendByCurLoginUid(@Param("curLoginUid") Long curLoginUid);
    public int updateRecommendPidListByUid(Recommend recommend);  // 更新该用户的推荐帖子列表
}
